#include <cstdio>
#include <algorithm>
#include <cstring>
using namespace std;
const int N=1e5+5;
int a[N];
int n;
int rec[N];
int main(void){
    while(~scanf("%d",&n)){
        for(int i=1;i<=n;i++){
            scanf("%d",&a[i]);
        }
        for(int i=1;i<=n;i++){
            memset(rec,0,sizeof(rec));
            int cnt=0,ans=0;
            rec[]
        }
    }
    return 0;
}